package com.xiamo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class DwKeyLog {

    @TableId("key_id")
    private String keyId;

    @TableField("user_id")
    private String userId;

    @TableField("key_str")
    private String keyStr;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("create_time")
    private Date createTime;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("update_time")
    private Date updateTime;

    @TableField("status")
    private Integer status;

    @TableField("type")
    private Integer type;
    @TableField("name")
    private String name;

}
